package com.liam.product.service;

import com.liam.product.mapper.ProductMapper;
import com.liam.product.model.ProductInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: LiamLMK
 * @CreateTime: 2025-03-10
 * @Description:
 * @Version: 1.0
 */

@Service
public class ProductService {

    @Autowired
    private ProductMapper productMapper;

    public ProductInfo selectProductById(Integer id){
        return productMapper.selectProductById(id);
    }
}